#include <Windows.h>

class CTimer
{
private:
	DWORD mdw_TimeStart;
	DWORD mdw_TimeEnd;

public:
	CTimer(void);
	~CTimer();

	//set methods
	//
	void SetTimeStart(DWORD);
	void SetTimeEnd(DWORD);
	//get methods
	//
	DWORD GetTime();	//get the time of the present
	DWORD Elapsed();	//get the time have been elapsed
	DWORD GetTimeStart();
	DWORD GetTimeEnd();

	void Sleep(int);	//sleep in MilliSeconds
	void Reset();		//reset the timer
};